package com.fans.chapter1.eleven;

public class Main {
	public static void main(String[] args) {
		MyThreadGroup myThreadGroup = new MyThreadGroup("MyThreadGroup");
		Task task = new Task();
		for(int i =0 ;i< 2;i++){
			Thread  t = new Thread(myThreadGroup,task);
			t.start();
		}
		
	}
}
